package net.taiqin.tqerp.dao.po;

import java.util.List;
import java.util.Map;
import net.taiqin.tqerp.controller.param.po.PurchaseParam;
import net.taiqin.tqerp.domain.po.POHeaderVO;
import net.taiqin.tqerp.domain.po.POLinesVO;
import net.taiqin.tqerp.domain.po.POMessagesVO;
import net.taiqin.tqerp.domain.po.POReturnLinesVO;
import net.taiqin.tqerp.domain.po.POStatusCountsVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

@Component
@Mapper
public interface IPurchaseDao {
    List<POStatusCountsVO> findPoStatusCounts(PurchaseParam parm);

    List<POHeaderVO> findPOHeaderList(PurchaseParam parm);

    List<POLinesVO> findPODetailList(PurchaseParam parm);

    int doCustomerUpdate(PurchaseParam parm);

    int doVendorUpdate(PurchaseParam parm);

    void doVendorAccept(Map<String, Object> map);

    void doVendorAcceptAll(Map<String, Object> map);

    void sendPoMessage(Map<String, Object> map);

    List<POMessagesVO> findPOMessages(PurchaseParam parm);

    List<POReturnLinesVO> findPOReturnLines(PurchaseParam parm);
}
